/**
 * @description 岗位管理配置界面
 * @author 李艳
 */
import {Tabs} from 'antd';
import React, {Component} from "react";
import ConfigFeatureRole from "../EnterpriseUser/ConfigFeatureRole";
import ConfigDataRole from "../EnterpriseUser/ConfigDataRole";

const TabPane = Tabs.TabPane;

class SupplierUserConfigTabsView extends Component {

  render() {
    const {userInfo} = this.props;
    return (

        <Tabs defaultActiveKey="1" className={"transfer-tab-box"}>

            <TabPane tab="配置功能角色" key="1">
              <ConfigFeatureRole userId={userInfo.id} />
            </TabPane>

          <TabPane tab="配置数据角色" key="2">
            <ConfigDataRole userId={userInfo.id}/>
          </TabPane>
        </Tabs>


    )
  }
}

export default SupplierUserConfigTabsView
